Xbasic

SQL::ConnectionRevokeAccess Method

Syntax

Result_Flag as L = RevokeAccess(Name as C, AccessType as C [, Resource as C])

Arguments

NameCharacter

The name of a user or group.

AccessTypeCharacter

The name of a resource

ResourceCharacter

The type of access to grant.

Returns

Result_FlagLogical

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Description

Revoke from a user or group the access specified, optionally, on the resource named.

Discussion

The RevokeAccess() method revokes access to a resource from a user or group.

See Also